package system_r

import (
	"gitee.com/little_xiang_admin/go-web-api/controller/user"
	"github.com/gin-gonic/gin"
)

// 这里只定义关于用户User的模块路由

type SysWebUserRouter struct {
}

func (s *SysWebUserRouter) InitSysWebUserRouter(Router *gin.RouterGroup) {
	userController := new(user.UserController)

	user := Router.Group("/users")
	{
		user.GET("/userLogin", userController.Login)

		user.GET("/userRegister", userController.Register)
	}
}
